package com.example.demo.Control;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

//请求处理类
@RestController
public class HelloCpntrol {
    @RequestMapping("/hello")
    public String HelloWorld(){
        System.out.println("Hello World");
        return "Hello World!";
    }
}
